﻿using CommonDevelop.DB;
using SqlSugar;
using System;

namespace ManageDB
{
    /// <summary>
    /// 模块配置表
    /// </summary>
    [SugarTable("Base_Module")]
    public class Base_Module : BaseEn
    {
        /// <summary>
        /// 构造
        /// </summary>
        public Base_Module()
        {
            this.ModuleId = Guid.NewGuid().ToString("N");
        }

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public string ModuleId { get; set; }
        public string ParentId { get; set; }
        public string ModuleCode { get; set; }
        public string FullName { get; set; }
        public string Icon { get; set; }
        public string ActionAddress { get; set; }
        public string IndexAddress { get; set; }
        public string TargetEnReg { get; set; }
        public bool IsMenu { get; set; }
        public bool IsPublic { get; set; }

        public string ResourceTypeId { get; set; }
        public string ResourceTypeName { get; set; }
    }
}
